<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<title>getBeans</title>
</head>
<body>

	<table>
		<tr>
			<form action="/webTemplate/beans.html" method="post">
				<td>BeanName</td>
				<td><input type="text" name="beanName" value="${beanName }"></td>
				<td><input type="submit" value="查询"></td>
			</form>
		</tr>
	</table>
	<table>
		<c:if test="${!empty beanNamesList }">
			<c:forEach items="${ beanNamesList}" var="beanName">
				<tr>
					<td><a href="/webTemplate/beans/${ beanName}.html">${beanName }</a></td>
				</tr>
			</c:forEach>
		</c:if>
	</table>

</body>
</html>